package org.example.springbook.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.springbook.model.UserInfo;

@Mapper
public interface UserMapper {
    @Select("select * from user_info where user_name=#{username}")
    UserInfo queryByName(String username);
}
